{% extends "base.html" %}
{% block content %}
    <div class="container">
        <div style="height: 50px"></div>
        <h1 class="pager">My Todos</h1>

        <div class="row">
            <div class="col-md-4 col-md-offset-4">

                <form class="form-horizontal" action="{% url 'myauth:login' %}" method="post">

                    <div class="form-group">
                        <label for="user" class="col-md-3 control-label">用户名</label>

                        <div class="col-md-9">
                            <input type="text" class="form-control" name="username" placeholder="用户名">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="pwd" class="col-md-3 control-label">密码</label>

                        <div class="col-md-9">
                            <input type="password" class="form-control" name="password" placeholder="密码">
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-md-offset-6">
                            <input type="submit" class="btn btn-primary" value="登录">
                        </div>
                    </div>

                </form>
            </div>
        </div>


    </div>



{% endblock %}